package com.gxuwz.entity;

import javax.persistence.*;


/**
 * 系统日志
 * @author 小胡  
 * @date 2017年6月6日
 */
@Entity
@Table(name = "sys_log")
public class SysLog extends BaseEntity{

	private static final long serialVersionUID = -2894437117210657269L;
	
	@Column(name = "log_ip_add")
	private String ipAdd;		// IP地址
	@Column(name = "log_msg")
	private String msg;			// 消息
	@Column(name = "log_method")
	private String method;		// 方法
	@Column(name = "log_clazz")
	private String clazz; 		// 类名
	@Column(name = "log_username")
	private String username;	// 用户名
	@Column(name = "log_create_date")
	private String createDate;	//创建时间
	public String getIpAdd() {
		return ipAdd;
	}
	public void setIpAdd(String ipAdd) {
		this.ipAdd = ipAdd;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getClazz() {
		return clazz;
	}
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

}
